home *** CD-ROM | disk | FTP | other *** search
- 162
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- SetFileInfo
- --- RECORDSEPARATOR ---
- Platform:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Macintosh
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Description:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- baSetFileInfo sets the type and creator of a file.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Usage:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Result = baSetFileInfo( FileName, Type, Creator )
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Arguments:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- String.
- --- RECORDSEPARATOR ---
- FileName is the file to set the info of.
- --- RECORDSEPARATOR ---
- Type is the four character type code to set.
- --- RECORDSEPARATOR ---
- Creator is the four character creator code to set.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Returns:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Integer.
- --- RECORDSEPARATOR ---
- Returns 1 if successful, else 0.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Examples:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Director:
- --- RECORDSEPARATOR ---
- set ok = baSetFileInfo( "HD:Data:web.htm", ΓÇ£HTMLΓÇ¥, ΓÇ£MOSSΓÇ¥ )
- --- RECORDSEPARATOR ---
- Authorware:
- --- RECORDSEPARATOR ---
- OK := baSetFileInfo( "HD:Data:data.txt", ΓÇ£TEXTΓÇ¥, ΓÇ£ttxtΓÇ¥ )
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Notes:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- To leave either the present Type or Creator unchanged, use an empty string as the
- --- RECORDSEPARATOR ---
- argument.